body{
font-family:Poppins, sans-serif;
margin:0;
background:#0f172a;
color:white;
}

/* HEADER */

.header{
background:#020617;
padding:15px 40px;
box-shadow:0 5px 25px rgba(0,0,0,0.6);
}

.nav-container{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
height:45px;
filter:drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

.nav a{
margin-left:20px;
color:white;
text-decoration:none;
transition:0.3s;
}

.nav a:hover{
color:#3b82f6;
text-shadow:0 0 8px rgba(59,130,246,0.7);
}

/* HERO */

.hero{
position:relative;
height:80vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
overflow:hidden;
}

/* SLIDER */

.slider{
position:absolute;
width:100%;
height:100%;
z-index:-1;
}

.slides{
width:100%;
height:100%;
position:relative;
}

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:opacity 1s ease-in-out;
}

.slide img{
width:100%;
height:100%;
object-fit:cover;
transform:scale(1.1);
}

.slide::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
}

/* slide activo */

.slide.active{
opacity:1;
}

/* PARALLAX */

.hero-content{
position:relative;
z-index:2;
animation:fadeUp 1s ease;
max-width:700px;
}

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* HERO TEXT */

.hero h1{
font-size:48px;
margin-bottom:10px;
text-shadow:0 6px 20px rgba(0,0,0,0.8);
}

.hero p{
font-size:18px;
margin-bottom:30px;
color:#e2e8f0;
text-shadow:0 4px 15px rgba(0,0,0,0.7);
}

/* BUTTONS */

.hero-buttons{
display:flex;
justify-content:center;
gap:20px;
}

.btn{
padding:12px 28px;
border-radius:8px;
text-decoration:none;
font-weight:500;
transition:0.35s;
box-shadow:0 6px 15px rgba(0,0,0,0.5);
}

.primary{
background:#3b82f6;
color:white;
}

.primary:hover{
background:#2563eb;
transform:translateY(-3px);
box-shadow:0 12px 30px rgba(0,0,0,0.6);
}

.secondary{
border:2px solid white;
color:white;
}

.secondary:hover{
background:white;
color:#020617;
transform:translateY(-3px);
box-shadow:0 12px 25px rgba(0,0,0,0.5);
}

/* BODY */

.container-body{
max-width:1000px;
margin:auto;
padding:60px 20px;
background:rgba(255,255,255,0.03);
border-radius:10px;
box-shadow:0 10px 40px rgba(0,0,0,0.6);
}

/* FOOTER */

.footer{
margin-top:80px;
background:#020617;
padding-top:50px;
box-shadow:0 -10px 40px rgba(0,0,0,0.6);
}

.footer-container{
max-width:1200px;
margin:auto;
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:40px;
padding:0 20px 40px 20px;
}

.footer-logo img{
height:40px;
margin-bottom:10px;
}

.footer-logo p{
color:#94a3b8;
max-width:250px;
}

.footer-links{
display:flex;
gap:60px;
flex-wrap:wrap;
}

.footer-section h4{
margin-bottom:10px;
color:#3b82f6;
}

.footer-section a{
display:block;
text-decoration:none;
color:#cbd5f5;
margin-bottom:8px;
transition:0.3s;
}

.footer-section a:hover{
color:white;
transform:translateX(4px);
}

.footer-bottom{
border-top:1px solid rgba(255,255,255,0.08);
text-align:center;
padding:20px;
color:#94a3b8;
font-size:14px;
}

.code-block{
position:relative;
margin-top:20px;
}

.code-block pre{
border-radius:8px;
padding:20px;
overflow:auto;
}


/* CODE BOX */

.code-box{
background:#020617;
border:1px solid rgba(255,255,255,0.08);
border-radius:10px;
margin:30px 0;
overflow:hidden;
box-shadow:0 10px 35px rgba(0,0,0,0.6);
}

pre {
	font-family: Consolas, "courier new";
  background-color: #2d3335;
  padding: 8px;
  border-radius: 5px;
  font-size: 120%;
  border: gray solid;
  border-width: 1px;
}

/* header del code box */

.code-header{
display:flex;
justify-content:space-between;
align-items:center;
background:#0f172a;
padding:10px 15px;
border-bottom:1px solid rgba(255,255,255,0.05);
font-size:14px;
color:#94a3b8;
}

/* copy button */

.copy-btn{
background:#1e293b;
border:none;
color:#cbd5f5;
padding:5px 12px;
border-radius:6px;
cursor:pointer;
font-size:13px;
transition:0.25s;
}

.copy-btn:hover{
background:#3b82f6;
color:white;
}

/* código */

.code-box pre{
	font-family: Consolas, "courier new";
	margin:0;
	padding:20px;
	overflow:auto;
	font-size:14px;
	line-height:1.6;
}

/* scrollbar moderno */

.code-box pre::-webkit-scrollbar{
	height:8px;
}

.code-box pre::-webkit-scrollbar-thumb{
background:#334155;
border-radius:10px;
}

.code-box pre::-webkit-scrollbar-thumb:hover{
background:#475569;
}

.rc_number {
  color: #0b9898;
}

.rc_string {
  color: #dd4040;
}

.rc_keyword {
  color: #6084a8;
  font-weight: bold;
}

.rc_comment {
  color: #6e716e;
}

.rc_symbol {
  color: #ffbb00;
}

.rc_key {
  color: #258bff;
}